package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "cn_omc_recharge_record")
public class OmcRechargeRecord extends BaseEntity {

    /**
     * 一卡通id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 流水号
     */
    @Column(name = "serial_number")
    private String serialNumber;

    /**
     * 人员姓名
     */
    @Column(name = "human_name")
    private String humanName;

    /**
     * 充值金额
     */
    private BigDecimal number;

    /**
     * 赠送金额
     */
    private BigDecimal donation;

    /**
     * 充值方式
     */
    private Integer type;

    /**
     * 备注
     */
    private String remark;

    /*
    * 机构id
    * */
    @Column(name = "group_id")
    private Long groupId;

}